package com.ywu.mq.standard.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName AppConfig
 * @Description TODO
 * @Author GroundDemo
 * @Date 2025/3/27 14:12
 * @Version 1.0
 **/
@Component
@ConfigurationProperties(prefix = "ywu.mq.kafka")
@Data
@ToString
public class KafkaAppConfig {
    private String bootstrapService;

    private String brokerIds = "1,2,3";

    private String brokerMap = "{\"1\": \"ywu-kafka-1\", \"2\": \"ywu-kafka-2\", \"3\": \"ywu-kafka-3\"}";
}
